package com.huawang.mdesign.model.service.util.reqif;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * Data type definition for enumeration types.
 *
 * @author xdl
 * @since 2023-04-04
 */
@Getter
@Setter
@XStreamAlias(ReqIFConstants.DATATYPE_DEFINITION_ENUMERATION)
public class DatatypeDefinitionEnumeration extends AbstractDatatypeDefinition {

    /**
     * The linkage to the owned enumeration literals.
     */
    @XStreamAlias(ReqIFConstants.SPECIFIED_VALUES)
    private List<EnumValue> specifiedValues = new ArrayList<>();
}
